<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function fn (a,b,c,d,e,f){//隐藏参数包括所有的实参，隐藏参数的个数只与实参有关，和形参个数无关
            for(var i = 0 ; i < arguments.length ; i ++ ){
                console.log(arguments[i]);
            }
        }
        fn(5,6,7,8,9,10);
    </script>
</body>
</html>